package com.wfk.service;

import com.wfk.entity.Goods;
import com.wfk.utils.BasePage;
import com.wfk.utils.ResponseData;

import java.io.IOException;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 商品信息表 服务类
 * </p>
 *
 * @since 2019-01-12
 */
public interface IGoodsService extends IService<Goods> {
	
	public BasePage<Goods> getList(Goods goods,BasePage<Goods> page);
	
	public Goods getGoodsDetail(String goodsCode);
	
	public Map<String,Goods> listMap();
	
	public ResponseData insertGoods(Goods goods,MultipartFile pfile,MultipartFile[] ufile)throws IOException;
}
